package com.leyu.mall.site.news.service.impl;

import java.util.List;
import javax.annotation.Resource;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.leyu.mall.admin.cms.dao.CmsNewsMapper;
import com.leyu.mall.admin.cms.domain.CmsNews;
import com.leyu.mall.site.news.service.ISiteNewsService;
@Service
@Scope("singleton")
@Transactional(rollbackFor = Exception.class)
public class SiteNewsServiceImpl implements ISiteNewsService 
{
	@Resource(name = "cmsNewsMapper")
	private CmsNewsMapper	cmsNewsMapper;
	 
 
	public List<CmsNews> getDisplayNewsList() throws Exception
	{
		return cmsNewsMapper.getDisplayNewsList();
	}

 
}